/*
 * @Author       : mengqingxin
 * @Date         : 2020-10-20 22:40:55
 * @LastEditors  : mengqingxin
 * @LastEditTime : 2020-12-06 17:24:56
 */
import request from '../utils/request';
const baseUrl = getApp().globalData.baseUrl

//获取电工信息
export function getElectronicInfoByCode(data) {
    return request({
        url: `${baseUrl}/car/owner/getElectronicInfoByCode`,
        method: 'post',
        data
    })
}
//根据内外机码获取产品信息
export function getProGoodsByCode(data) {
    return request({
        url: `${baseUrl}/car/owner/getProGoodsByCode`,
        method: 'post',
        data
    })
}
//保存扫码安装记录
export function saveInstallRecord(data) {
    return request({
        url: `${baseUrl}/car/owner/saveInstallRecord`,
        method: 'post',
        data
    })
}
